package xing.domain.page.annotation;

import xing.domain.page.enums.AccessType;

import java.lang.annotation.*;

/*******************************************************************************************
 * 类描述：  
 *
 * @author: dustin
 * @date： 2017-9-2 17:07
 * @Description:
 * @version 1.0.0
 *
 *
 * Version    Date       ModifiedBy                 Content  
 * -------- ---------    ----------         ------------------------  
 * 1.0.0     2017-9-2    Administrator                            
 *******************************************************************************************
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Access {

    AccessType accessType() default AccessType.NONE;

    String[] authorities() default {};
}
